package com.sntk.registermanager.common.exception;

import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @ClassName: DefinedException
 * @author: wgchao
 * @createTime: 2020/6/28 11:35 AM
 * @Description: TODO
 */
@Getter
@NoArgsConstructor
public class DefinedException extends RuntimeException {
    private String code;

    public DefinedException(String message, String code) {
        super(message);
        this.code = code;
    }
}
